import san from 'san';
import styles from './index.less';

var MyApp = san.defineComponent({
    template: '<div class="{{appStyle}}">hello {{name}}!</div>',

    initData: function () {
        return {
            name: 'world',
            appStyle: 'app',
        };
    }
});

var myApp = new MyApp();
myApp.attach(document.body);